package com.esgpro.esg_api.service.Info;

import java.util.HashMap;
import java.util.List;

public interface ServiceInfo<T> {
    boolean insertOne(T t);

    boolean deleteOneById(int id);

    T selectOneById(int id);

    HashMap<String, Object> selectByMap(int current, int size, HashMap<String, Object> map);

    boolean updateById(T t);

    List<T> selectAll();
}
